<?php echo 'Login success'; ?><br />
<?php echo 'Hello: '. $username; ?><br />
<?php echo anchor('main/logout', 'Logout', array('title'=>'logout')); ?>